import React from 'react';
import { NavLink } from 'react-router-dom';
import { footerList } from '../../router/routes';
import "./style.scss"
const Index = () => {
    return (
        <div className='footer'>
            {
                footerList.map((v,i)=>{
                    return(
                        <NavLink key={i} to={v.path}>
                            {v.icon}
                            <span>{v.name}</span>
                        </NavLink>
                    )
                })
            }
        </div>
    );
}

export default Index;
